home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 September (IDG) / Sep99.iso / Shareware World / Info / For Developers / Finder Flags Plugin / Finder Flags Sources / Finder Flags Test Project / HelloWorld.c next >
Encoding:
C/C++ Source or Header  |  1998-03-16  |  752 b   |  28 lines  |  [TEXT/CWIE]

  1. /*
  2.  *  Hello World for the CodeWarrior
  3.  *  © 1997-1998 Metrowerks Corp.
  4.  *
  5.  *  Questions and comments to:
  6.  *       <mailto:support@metrowerks.com>
  7.  *       <http://www.metrowerks.com/>
  8.  */
  9.  
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12. #include <time.h>
  13.  
  14. int main(void)
  15. {
  16.     printf ("Hello World, this is CodeWarrior!\n\n");
  17.  
  18.     srand(time(NULL));    
  19.     printf ("This project uses the SIOUX console library: choose 'Quit' from the file menu to quit.\n\n");
  20.     printf ("For more information on the ANSI C library and the Metrowerks additions, ");
  21.     printf ("including SIOUX, see the C Library Reference in the Metrowerks Documentation folder.\n\n");
  22.     
  23.     printf ("To locate the right ANSI library for your preferences, see the CodeWarrior User's Guide.\n");
  24.  
  25.     return 0;
  26. }
  27.  
  28.